package com.yuchuang.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.yuchuang.model.Brand;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Author:cy Date: 2023-06-16-13:19
 * Description:
 */
@Repository
public interface BrandMapper extends BaseMapper<Brand> {
    List<Brand> queryAllImplBatis(@Param(Constants.WRAPPER) Wrapper queryWrapper);
    IPage<Brand> selectPageVoMapper(IPage<Brand> page, @Param(Constants.WRAPPER) Wrapper queryWrapper);
    int insertImplBatis(Brand classification);
    int updateImplBatis(Map<String,Object> params);
    int deleteImplBatis(Map<String,Object> params);
}
